package com.local.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.local.dao.mapers.LocalVersionMapper;
import com.local.model.LocalVersion;
import com.local.service.face.LocalVersionService;
import com.qianhai.common.utils.Tools;

@Service
public class LocalVersionServiceImpl implements LocalVersionService
{
	
	@Autowired
	private LocalVersionMapper localVersionMapper;
	
	@Override
	public Double selectLocalVersionByVersionType(String versionType)
	{
//		LocalVersion localVersion = localVersionMapper.selectLocalVersionByVersionType(versionType);
//		if(Tools.isEmpty(localVersion)){
//			return 0.1d;
//		}else{
//			return localVersion.getVersion()+0.1;
//		}
		return 0.1d;
	}
	
}
